<?php
class Groups extends Zend_Db_Table_Abstract
{
	protected $_name = 'groups';

	public function generateOptions()
	{
		return $this->getAdapter()->fetchPairs("SELECT `id`, `name` FROM `groups` ORDER BY `name`");
	}
}